package com.zlll.winner.business.service.media;

import com.alibaba.fastjson.JSONObject;
import com.zlll.winner.business.model.media.MediaVideoList;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zlll.winner.business.model.sysUser.SysUser;

import java.util.Map;

/**
 * <p>
 * 电台节目列表 服务类
 * </p>
 *
 * @author qsx
 * @since 2019-10-17
 */
public interface IMediaVideoListService extends IService<MediaVideoList> {

    IPage<Map<String, Object>> fetchVideoListPage(JSONObject params);

    boolean saveVideo(MediaVideoList mediaVideoList, SysUser user);

    void editVideo(MediaVideoList mediaVideoList, SysUser user);

    int deleteVideoById(Long id, String name);

    int updateVideoStatusById(Long id, String name);

    MediaVideoList fetchVideoLast();
}
